package 泛型依赖注入;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Main {
	public static void main(String[] args) {
		ClassPathXmlApplicationContext ctx1 = new ClassPathXmlApplicationContext("泛型依赖注入1.xml");
		UserService servcie = (UserService)ctx1.getBean("userService");
		servcie.add();
	}
}
